Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.webapp.info.view--widgets

This contribution is part of XML component org.nuxeo.ecm.webapp.info.view inside nuxeo-platform-webapp-core-6.0.jar

Extension Point

Extension point widgets of component WebLayoutManager.

Contributed Items

  • <widget name="infoViewPanelLeft" type="documentActions">
          <properties widgetMode="view">
            <property name="category">INFO_VIEW_PANEL_LEFT</property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">false</control>
            <control name="gridStyleClass">
              gridStyle8 infoViewLeft
            </control>
          </controls>
        </widget>
  • <widget name="infoViewPanelRight" type="documentActions">
          <properties widgetMode="view">
            <property name="category">INFO_VIEW_PANEL_RIGHT</property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">false</control>
            <control name="gridStyleClass">
              gridStyle4 compactLayout infoViewRight
            </control>
          </controls>
        </widget>
  • <widget name="infoViewPreview" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewDocContainer</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgets>
            <widget name="preview" type="documentPreview">
              <properties widgetMode="view">
                <property name="width">100%</property>
                <property name="height">600px</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="infoViewNote" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewDocContainer</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgetRefs>
            <widget>summary_note_text</widget>
          </subWidgetRefs>
        </widget>
  • <widget name="infoViewNoPreview" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewDocContainer</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgets>
            <widget name="noPreview" type="template">
              <properties mode="any">
                <property name="template">
                  /widgets/info_view_no_preview_widget.xhtml
                </property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="infoViewTitleContainer" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewTitle</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgets>
            <widget name="infoViewTitle" type="title_link">
              <fields>
                <field/>
                <field>ref</field>
                <field>dc.description</field>
              </fields>
              <properties mode="any">
                <property name="target">_top</property>
                <property name="hideExternalLink">true</property>
                <property name="hideDownloadLink">true</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="infoViewInfoLayoutContainer" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewInfoLayout</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgets>
            <widget name="infoViewInfoLayout" type="documentLayout">
              <properties widgetMode="view">
                <property name="mode">view</property>
                <property name="documentMode">info</property>
                <property name="defaultLayout">defaultInfoLayout@tabLayout</property>
                <property name="includeAnyMode">false</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="infoViewActions" type="documentActionsWithForms">
          <properties widgetMode="view">
            <property name="category">INFO_VIEW_ACTIONS</property>
            <property name="styleClass">globalActionBar infoViewActions</property>
            <property name="subStyleClass">contextActions</property>
            <property name="overallDisplay">horizontal_block</property>
            <property name="actionsDisplay">icons</property>
            <property name="useAjaxForm">true</property>
            <property name="ignoreTemplateProperty">true</property>
            <property name="maxActionsNumber">5</property>
          </properties>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="infoViewPanelLeft" type="documentActions">
      <properties widgetMode="view">
        <property name="category">INFO_VIEW_PANEL_LEFT</property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">false</control>
        <control name="gridStyleClass">
          gridStyle8 infoViewLeft
        </control>
      </controls>
    </widget>

    <widget name="infoViewPanelRight" type="documentActions">
      <properties widgetMode="view">
        <property name="category">INFO_VIEW_PANEL_RIGHT</property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">false</control>
        <control name="gridStyleClass">
          gridStyle4 compactLayout infoViewRight
        </control>
      </controls>
    </widget>

    <widget name="infoViewPreview" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewDocContainer</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgets>
        <widget name="preview" type="documentPreview">
          <properties widgetMode="view">
            <property name="width">100%</property>
            <property name="height">600px</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="infoViewNote" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewDocContainer</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgetRefs>
        <widget>summary_note_text</widget>
      </subWidgetRefs>
    </widget>

    <widget name="infoViewNoPreview" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewDocContainer</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgets>
        <widget name="noPreview" type="template">
          <properties mode="any">
            <property name="template">
              /widgets/info_view_no_preview_widget.xhtml
            </property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="infoViewTitleContainer" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewTitle</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgets>
        <widget name="infoViewTitle" type="title_link">
          <fields>
            <field/>
            <field>ref</field>
            <field>dc.description</field>
          </fields>
          <properties mode="any">
            <property name="target">_top</property>
            <property name="hideExternalLink">true</property>
            <property name="hideDownloadLink">true</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="infoViewInfoLayoutContainer" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewInfoLayout</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgets>
        <widget name="infoViewInfoLayout" type="documentLayout">
          <properties widgetMode="view">
            <property name="mode">view</property>
            <property name="documentMode">info</property>
            <property name="defaultLayout">defaultInfoLayout@tabLayout</property>
            <property name="includeAnyMode">false</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="infoViewActions" type="documentActionsWithForms">
      <properties widgetMode="view">
        <property name="category">INFO_VIEW_ACTIONS</property>
        <property name="styleClass">globalActionBar infoViewActions</property>
        <property name="subStyleClass">contextActions</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="actionsDisplay">icons</property>
        <property name="useAjaxForm">true</property>
        <property name="ignoreTemplateProperty">true</property>
        <property name="maxActionsNumber">5</property>
      </properties>
    </widget>

  </extension>